<extend name="Public/base"/>

<block name="body">
    <script type="text/javascript" src="__STATIC__/uploadify/jquery.uploadify.min.js"></script>
    <div class="main-title">
        <h2>
            人工操作 - 增加播放次数 
            昨日增加 150-300 
            前日增加 100-200
            三日前   50 -150
            四日前   30 -100
            五日前   10 -50
            <button class="btn btn-default btn-return" onclick="javascript:history.back(-1);return false;"><i class="glyphicon glyphicon-share-alt"></i> 返 回</button>
        </h2>
    </div>
    <form action="" method="post" class="form">
        <div class="form-item form-group form-action">
            <button class="btn submit-btn btn-success btn-block" id="submit" type="submit" target-form="form">开 始</button>
            <a href="{:U('')}" class="btn submit-btn btn-success btn-block">清空</a>
        </div>
    </form>

    <notempty name="result">
    <div class="data-table table-striped">
    <table class="table table-bordered">
    <thead>
        <tr>
        <th class="">视频名称 总数 {$total.video}</th>
        <th class="">当前次数</th>
        <th class="">发布时间</th>
        <th class="">增加次数 总数 {$total.add}  <a href="javascript:$('#JS-body').toggle()">显示</a></th>
        </tr>
    </thead>
    <tbody id="JS-body" style="display: none">
        <volist name="result" id="vo">
        <tr>
            <td>{$vo.video.title}</td>
            <td>{$vo.video.play}</td>
            <td>{$vo.video.create_time|time_format}</td>
            <td>{$vo.add}</td>
        </tr>
        </volist>
    </tbody>
    </table>
    </div>
    </notempty>

</block>

<block name="script">
    <script type="text/javascript">
        //导航高亮
        highlight_subnav('{:U('randomZan')}');
    </script>
</block>
